package com.baizhi.service;

import com.baizhi.entity.CmfzAlbum;
import com.baizhi.entity.CmfzGuru;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * Created by Administrator on 2019/4/9 0009.
 */
public interface CmfzGuruService {
    Map selectAll();

    Map showAll(Integer page, Integer rows, String guruNickname);

    Map add(MultipartFile picture, CmfzGuru cmfzGuru, HttpServletRequest request);

    void export(HttpServletResponse response);

    Map importGuruExcel(MultipartFile excelfile);

    Map frozen(Integer guruId);

    Map unFrozen(Integer guruId);

}
